public class Solution {
    public boolean judge(String str) {
        int start=0,end=str.length()-1;
        while (start<end){
                if(start!=end){
                    return false;
                }
                start++;
                end--;
            }return true;
        }
    }
